<div ng-include="'/modules/template/header.html'"></div>  
<div class="weizhi">
	<div class="container">
    	<div class="row">
        	<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 t_weizhi">
            	当前位置->><a ui-sref="main">首页</a>->><a>高级检索</a>
            </div>
        </div>
    </div>
</div>

<div class="t_main">
	<div class="container">
    	<div class="row">
        	<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 t_top fl_top">
				<span ng-class="{'t_top_cur':boo,'class_search':!boo}" ng-click="boo = true;" ui-sref="advanced_search">高级检索</span>
				<span ui-sref="class_search" ng-class="{'t_top_cur':!boo,'class_search':boo}" ng-click="boo = false;">分类检索</span>
            </div>
          <!--  <span ui-sref="simple_search">简单检索</span> -->
            <div class="t_form fl_form">
                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 gj_list">
                	<div class="col-lg-3 col-md-4 col-sm-3 col-xs-4 gj_title">关键词：</div>
            	
            		<div class="col-lg-5 col-md-6 col-sm-6 col-xs-8 gj_input">
            			<input type="text" ng-model="keyWord" name="keyWord">
            		</div>
            		
                	<div class="col-lg-9 col-md-offset-3 col-md-8 col-sm-12 col-xs-12 gj_gf">
                		标准名称中相关字段，示例：“环境”或“规范”或“环境（空格）规范”
                	</div>
                	<div class="clearfix"></div>
                </div>
                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 gj_list">
                	<div class="col-lg-3 col-md-4 col-sm-3 col-xs-4 gj_title">标准号：</div>
            	
            		<div class="col-lg-5 col-md-6 col-sm-6 col-xs-8 gj_input">
            			<input type="text" ng-model="standardId" name="standardId">
            		</div>
            		
                	<div class="col-lg-9 col-md-offset-3 col-md-8 col-sm-12 col-xs-12 gj_gf">
                		示例：“GB 24613-2009”或“24613”
                	</div>
                	<div class="clearfix"></div>
                </div>
                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 gj_list">
                	<div class="col-lg-3 col-md-4 col-sm-3 col-xs-4 gj_title" >国家标准分类：</div>
            	
            		<div class="col-lg-5 col-md-6 col-sm-6 col-xs-8 gj_input">
            			<input type="text" ng-model="icsNum" name="icsNum">
            		</div>
            		
            		<div class="col-lg-4 col-md-2 col-sm-3 col-xs-12 gj_right">
            			<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
            				<button type="button" class="xz" ng-click="chooseAdvanced()">选择</button>
            			</div>
            			
            		</div>
                	<div class="col-lg-9 col-md-offset-3 col-md-8 col-sm-12 col-xs-12 gj_gf">
                		点击选择要查询标准在国际分类中的类别范围
                	</div>
                	<div class="clearfix"></div>
                </div>
                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 gj_list">
                	<div class="col-lg-3 col-md-4 col-sm-3 col-xs-4 gj_title">中国标准分类：</div>
            	
            		<div class="col-lg-5 col-md-6 col-sm-6 col-xs-8 gj_input">
            			<input type="text" ng-model="ccsNumJson" name="ccsNumJson">
            		</div>
            		
            		<div class="col-lg-4 col-md-2 col-sm-3 col-xs-12 gj_right">
            			<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
            				<button type="button" class="xz" ng-click="chooseChinaClass()">选择</button>
            			</div>
            			
            		</div>
                	<div class="col-lg-9 col-md-offset-3 col-md-8 col-sm-12 col-xs-12 gj_gf">
                		点击选择要查找标准在中国标准文献分类中的类别范围
                	</div>
                	<div class="clearfix"></div>
                </div>
                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 gj_list">
                	<div class="col-lg-3 col-md-4 col-sm-3 col-xs-4 gj_title">采用关系：</div>
            	
            		<div class="col-lg-5 col-md-6 col-sm-6 col-xs-8 gj_input">
            			<input type="text" ng-model="adopt" name="adopt">
            		</div>
            		
                	<div class="col-lg-9 col-md-offset-3 col-md-8 col-sm-12 col-xs-12 gj_gf">
                		示例：“IEC 61375-2-2007”
                	</div>
                	<div class="clearfix"></div>
                </div>
                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 gj_list">
                	<div class="col-lg-3 col-md-4 col-sm-3 col-xs-4 gj_title">标准品种：</div>
            	
            		<div class="col-lg-5 col-md-6 col-sm-6 col-xs-8 gj_input">
            			<input type="text" ng-model="standardSort" name="standardSort">
            		</div>
            		
            		<div class="col-lg-4 col-md-2 col-sm-3 col-xs-12 gj_right">
            			<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
            				<button type="button" class="xz" ng-click="chooseClass()">选择</button>
            			</div>
            			
            		</div>
                	<div class="col-lg-9 col-md-offset-3 col-md-8 col-sm-12 col-xs-12 gj_gf">
                		点击选择标准所属的标准化组织
                	</div>
                	<div class="clearfix"></div>
                </div>
                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 gj_list">
                	<div class="col-lg-3 col-md-4 col-sm-3 col-xs-4 gj_title gj_title1">年代号：</div>
            	
            		<div class="col-lg-5 col-md-6 col-sm-6 col-xs-8 gj_input gj_input1">
            			<span>从</span>
            			 <select  common-dict data="standard_time"  ng-model="pubYearBegin"  name="pubYearBegin">
            				<option value="">请选择</option>
            				<option ng-repeat = "standard_time in pubYearBeginList" ng-bind="standard_time.d_value"  value="{{standard_time.d_value}}"></option>
            			</select>
            			<span>年</span>
            			<span>至</span>
            			<select  common-dict data="standard_time"  ng-model="pubYearEnd"  name="pubYearEnd">
            				<option value="">请选择</option>
            				<option ng-repeat = "standard_time in pubYearEndList" ng-bind="standard_time.d_value"  value="{{standard_time.d_value}}"></option>
            			</select>
            			<span>年</span>
            		</div>
            		
                	<div class="col-lg-9 col-md-offset-3 col-md-8 col-sm-12 col-xs-12 gj_gf">
                		示例：“GB 24613-2009”中2009是年代号
                	</div>
                	<div class="clearfix"></div>
                </div>
                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 gj_list">
                	<div class="col-lg-3 col-md-4 col-sm-3 col-xs-4 gj_title">标准状态：</div>
            	
            		<div class="col-lg-5 col-md-6 col-sm-6 col-xs-8 gj_input">
            			<select common-dict data="standard_status" ng-model="standardStatus" name="standardStatus">
            				<!-- <option value="" >请选择</option> -->
            				<option ng-repeat="standard_status in standardList" ng-bind="standard_status.d_value | standardFilter" value="{{standard_status.d_value}}"></option>
            			</select>
            		</div>
            		
                	<div class="col-lg-9 col-md-offset-3 col-md-8 col-sm-12 col-xs-12 gj_gf">
                		标准状态分为：全部即现行+作废、现行、作废、可根据需要选择
                	</div>
                	<div class="clearfix"></div>
                </div>
                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 gg_button" >
					<div class="col-xs-6 gg_b1" >
						<button type="button" ng-click="search()" id="enterSuccess">搜索</button>
					</div>
					<!-- <div class="col-xs-6 gg_b2">
						<button type="button" ng-click="reset()">重置</button>
					</div> -->
					
					<div class="col-xs-6 gg_b2">
						<button type="button" ng-click="reset()">重置</button>
					</div>
				</div>
              
                <div class="clearfix"></div>
            </div>
            
        </div>
    </div>
</div>

 <div class="modal fade" id="advancedSearch" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-body" style="font-size:20px;">
				国际标准分类
			</div>
			<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 fl_list_text" id="checkBody" style="padding-top:15px" >
           		<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12" ng-repeat="ics in icsList"  >
           			<label class="dw-label">
	           			<input type="checkbox" class="dw-checkinput" ng-click="toggleCheckBox(ics.id)" value="{{ics.id}}">
	           			<span ng-bind="ics.cName"></span>           				
           			</label>
           		</div>
             </div>
			<div class="modal-footer"  id="checkHead" >
				<label class="dw-label" style="float:left;padding-left:15px">
					<input type="checkbox" class="all"  ng-click="toggleCheckBox()" style="float:left">
					<span style="float:left;padding-left: 5px;">全选</span>
				</label>
				<button type="button" class="btn btn-primary" ng-click="close()" style="float:right;font-size:10px;">
					关闭
				</button>
				<button type="button" class="btn btn-primary" ng-click="sure()" style="float:right;font-size:10px;margin-right: 10px;">
					确定
				</button>
			</div>
		</div><!-- /.modal-content -->
	</div>
   </div> 
   
<div class="modal fade"  id="chinaStandard" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" >
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-body" style="font-size:20px;">
				中国标准分类
			</div>
			<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 fl_list_text" style="padding-top:15px" >
           		<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12" ng-repeat="ccs in ccsList"  id="checkT">
	           		<label class="dw-label">
	           			<input type="checkbox" class="dw-checkinput"  ng-click="toggleCheckBoxT(ccs.id)" value="{{ccs.id}}">
	           			<a href="" ><span ng-bind="ccs.cn+ccs.cc"></span></a>           		
	           		</label>
           		</div>
             </div>
			<div class="modal-footer"  id="checkHeadT">
				<label class="dw-label" style="float:left;padding-left:15px">
					<input type="checkbox" class="all"  ng-click="toggleCheckBoxT()" style="float:left">
					<span style="float:left;padding-left: 5px;">全选</span>
				</label>
				<button type="button" class="btn btn-primary" ng-click="closeT()" style="float:right;font-size:10px;">
					关闭
				</button>
				<button type="button" class="btn btn-primary" ng-click="Csure()" style="float:right;font-size:10px;margin-right: 10px;">
					确定
				</button>
			</div>
		</div><!-- /.modal-content -->
	</div>
   </div> 
   <div class="modal fade"  id="standardClass" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-body" style="font-size:20px;">
				标准品种
			</div>
			<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 fl_list_text" style="padding-top:15px">
           		<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12" ng-repeat="varieties in standardSortList track by $index"  id="checkBodyD">
	           		<label class="dw-label">
		           		<input type="checkbox" class="dw-checkinput" ng-click="toggleCheckBoxD(varieties.CLASS_ID)" value="{{varieties.CLASS_ID}}">
		           		<a href="" ><span ng-bind="varieties.CLASS_NAME"></span></a>
	           		</label>
           		</div>
             </div>
			<div class="modal-footer"  id="checkHeadD">
				<label class="dw-label" style="float:left;padding-left:15px">
					<input type="checkbox" class="all"  ng-click="toggleCheckBoxD()" style="float:left">
					<span style="float:left;padding-left: 5px;">全选</span>
				</label>
				<button type="button" class="btn btn-primary" ng-click="closeD()" style="float:right;font-size:10px;">
					关闭
				</button>
				<button type="button" class="btn btn-primary" ng-click="Isure()" style="float:right;font-size:10px;margin-right: 10px;">
					确定
				</button>
			</div>
		</div><!-- /.modal-content -->
	</div>
   </div> 
<script>
$(document).keypress(function(e) {  
	  // 回车键事件  
   if(e.which == 13) {  
		jQuery("#enterSuccess").click();  
  	}  
})
</script>